mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Issue #3049 - Undo Stylo nonsense that breaks body and frame margins.
This restores support for using HTML tag styling of margins on the body. Reftests post bug still pass for dynamic changes, so does the newly-added test for body margins and frames that tests the old styling method. This also removes the reftest list for stylo testing for obvious reasons.
This commit is contained in:
parent
bae3220dd5
commit
0f56697eb9
15 changed files with 283 additions and 171 deletions
4
dom/html/test/body-margin-test/child.html
Normal file
4
dom/html/test/body-margin-test/child.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<HTML>
|
||||
<BODY BGCOLOR="#ffffff" TEXT="#000000">
|
||||
<A HREF="/internal-url-removed/" TARGET="_top"><IMG SRC="fruit.jpg" ALT="" BORDER=0 WIDTH="800" HEIGHT="600"></A>
|
||||
</BODY></HTML>
|
||||
BIN
dom/html/test/body-margin-test/fruit.jpg
Normal file
BIN
dom/html/test/body-margin-test/fruit.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 78 KiB |
9
dom/html/test/body-margin-test/test-body.html
Normal file
9
dom/html/test/body-margin-test/test-body.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
</HEAD>
|
||||
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#000099" TEXT="#000000" TOPMARGIN=0 BOTTOMMARGIN=0 LEFTMARGIN=0 RIGHTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
|
||||
<img src=fruit.jpg width="100%" height="100%">
|
||||
</BODY>
|
||||
</HTML>
|
||||
11
dom/html/test/body-margin-test/test-frame.html
Normal file
11
dom/html/test/body-margin-test/test-frame.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>iframe now showing margin/padding in pale moon</TITLE>
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#000099" TEXT="#000000" TOPMARGIN=0 BOTTOMMARGIN=0 LEFTMARGIN=0 RIGHTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
|
||||
|
||||
<IFRAME SRC=child.html MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=NO WIDTH=800 HEIGHT=600>
|
||||
</BODY>
|
||||
</HTML>
|
||||
Loading…
Add table
Add a link
Reference in a new issue