Closed Bug 1164852 Opened 10 years ago Closed 10 years ago

some of the reference files for float-in-rtl-* reftests do not render properly

Categories

(Core :: Layout: Floats, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

It's come to my attention that some of the reference files here don't actually render as intended in the vertical writing-mode tests, mainly due to the use of position:relative, which doesn't work right in all cases. (FWIW, a bunch of them render incorrectly in Chrome, too. It's not just us!) Anyway, to make the tests more reliable/meaningful, I propose to rewrite the reference files using basic layout features (margin/padding) to put the elements in the expected positions. This makes them render as intended (also in Chrome), so that the reftests will be more useful as we work on the positioning issues that still affect a number of the testcases.
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
While we're here, let's remove position:relative (with no offsets) from all the testcases, too; it's serving no real purpose, though it does affect painting order (and that's why I had to reorder elements in a couple of the reference files in the preceding patch; this lets them be returned to their original order).
Attachment #8605845 - Flags: review?(smontagu)
Comment on attachment 8605841 [details] [diff] [review] Rewrite reference files for float-in-rtl-* reftests to avoid the use of position:relative Review of attachment 8605841 [details] [diff] [review]: ----------------------------------------------------------------- Ah good, this removes the UNEXPECTED-PASS that I had my doubts about in bug 1147834 comment 8
Attachment #8605841 - Flags: review?(smontagu) → review+
Comment on attachment 8605845 [details] [diff] [review] patch 2 - Remove irrelevant position:relative from all the float-in-rtl-* testcases, too Review of attachment 8605845 [details] [diff] [review]: ----------------------------------------------------------------- rs=me
Attachment #8605845 - Flags: review?(smontagu) → review+
Keywords: checkin-needed
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: