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)
Core
Layout: Floats
Tracking
()
RESOLVED
FIXED
mozilla41
| Tracking | Status | |
|---|---|---|
| firefox41 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
|
16.81 KB,
patch
|
smontagu
:
review+
|
Details | Diff | Splinter Review |
|
47.73 KB,
patch
|
smontagu
:
review+
|
Details | Diff | Splinter Review |
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 | ||
Comment 1•10 years ago
|
||
Attachment #8605841 -
Flags: review?(smontagu)
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•10 years ago
|
||
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)
| Assignee | ||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
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 5•10 years ago
|
||
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+
| Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
| Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
| Assignee | ||
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fcd85a531d88
https://hg.mozilla.org/mozilla-central/rev/a8388514b0ea
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•