Open Bug 398820 Opened 13 years ago Updated 6 years ago

Percentage padding-top does not respond to dynamic changes in page width

Categories

(Core :: Layout, defect)

x86
macOS
defect
Not set
minor

Tracking

()

People

(Reporter: jruderman, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: testcase)

Attachments

(4 files)

Gecko doesn't update the padding amount when padding-top is specified as a percentage and the page's width changes.  (It's a percentage of the page's width rather than the page's height as specified in http://www.w3.org/TR/CSS21/box.html#padding-properties.)
If a percentage padding is specified in a block-level element, inline elements it contains are not positioned properly after window is resized.
Resize window to see how padding-top does NOT change.
Attachment #8508662 - Attachment mime type: text/plain → text/html
padding-top does not change in a block level element if it's specified as a percentage and both padding-left and padding-right as non-percentage and the element has either float or position absolute/fixed.
You need to log in before you can comment on or make changes to this bug.