Confused li marker position with text-align
Categories
(Core :: Layout: Generated Content, Lists, and Counters, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: 94529818, Assigned: dshin)
References
(Regressed 1 open bug)
Details
Attachments
(3 files)
296 bytes,
text/html
|
Details | |
376 bytes,
text/html
|
Details | |
Bug 1805603: When aligning inline frames for `text-align`, ignore marker frames. r=#layout-reviewers
48 bytes,
text/x-phabricator-request
|
Details | Review |
Firefox for Android
Steps to reproduce:
Default li element style list-style-position is outside.
So what's the marker position with text-align:center|right?
<ul>
<li style="text-align:right">test content</li>
<ul>
Actual results:
The marker is placed at near the text on right.
Expected results:
The marker is placed at the block inline-start.
Both Chrome, Edge and Safari displays as this result.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout: Block and Inline' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
•
|
||
I can reproduce, though oddly it seems to fix itself if I add any [EDIT: This was wrong, it's actually the presence of a text-align:left
li elementsdirection:rtl
element somewhere that seems to fix things for me. See upcoming reference case.]
Comment 3•2 years ago
|
||
Comment 4•2 years ago
|
||
Comment 5•2 years ago
|
||
dshin or tlouw might be interested to take a look, if they have cycles & are interested to pick up a (hopefully) small correctness bug.
Assignee | ||
Comment 6•2 years ago
|
||
Code of interest is around where we align inline frames. Looks like we should not be shifting marker frames.
Having RTL present in the document activates unicode-bidi, which happens to do reordering and take markers into account instead of shifting all frames.
Assignee | ||
Comment 7•2 years ago
|
||
Comment 10•2 years ago
|
||
Backed out changeset a8628fe4290e (Bug 1805603) for causing failures in marker-text-align-002.html CLOSED TREE
Log: https://treeherder.mozilla.org/logviewer?job_id=401233421&repo=autoland&lineNumber=3025
https://treeherder.mozilla.org/logviewer?job_id=401230665&repo=autoland&lineNumber=19029
Backout: https://hg.mozilla.org/integration/autoland/rev/3982de53eb6f0168a9b5c882c9748ddbd9900631
Comment 12•2 years ago
|
||
Comment 13•2 years ago
|
||
bugherder |
Assignee | ||
Updated•2 years ago
|
Description
•