Remove legacy layout code path for ::marker (nsBulletFrame)
Categories
(Core :: Layout, task, P2)
Tracking
()
People
(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)
References
(Blocks 3 open bugs, Regressed 2 open bugs)
Details
(Whiteboard: [layout:backlog], [wptsync upstream])
Attachments
(9 files)
|
1.39 KB,
text/html
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
1.77 KB,
text/html
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
We should make 'list-style-type/image' markers take the same
code path as we take for 'content' markers. Then we can
remove nsBulletFrame since it's dead code.
I think this change would also fix the listed blocked bugs.
Updated•7 years ago
|
| Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 1•5 years ago
|
||
Now that we triage by severity, setting this bug's priority to P2 to represent near-term backlog status. See https://wiki.mozilla.org/Platform/Layout#Backlog_Tracking_in_Bugzilla
Updated•5 years ago
|
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 2•5 years ago
|
||
| Assignee | ||
Comment 3•5 years ago
|
||
I've filed a CSSWG issue on the change from 0x25FE to 0x25AA for
list-style-type:square here:
https://github.com/w3c/csswg-drafts/issues/6200
| Assignee | ||
Comment 4•5 years ago
|
||
Depends on D111691
| Assignee | ||
Comment 5•5 years ago
|
||
Specifically:
For "bullets", i.e. 'list-style-type:disc|circle|square|
disclosure-closed|disclosure-open', we use a built-in font
(-moz-bullet-font, which has glyphs for those symbols + space) to
retain mostly backwards compatible rendering for those. Authors may
override that with an explicit 'font-family' ::marker style though.
We also use this font for 'list-style-image' in case it would
fallback to one of the above when the image fails to load (so that
we get the same width space).
When the -moz-bullet-font is used we also set 'font-synthesis' to
avoid synthesizing italic/bold for this font. Authors may override
this with an explicit ::marker declaration.
We also set 'letter-spacing' and 'word-spacing' to the initial value
for bullets for web-compat reasons. Again, authors may override
this with an explicit ::marker declaration. (This breaks backwards-
compat slightly but makes us compatible with Chrome. We used to
ignore these for list-style-type:<string> too.)
Depends on D111692
| Assignee | ||
Comment 6•5 years ago
|
||
Per https://github.com/w3c/csswg-drafts/issues/6126 these were
never intended to be included in the first place so this is just
fixing a bug. Note that I'm leaving them in the mRuleFaces array
so that the font loading machinery works the same as before.
I'm just excluding them when queried by document.fonts.
Depends on D111693
| Assignee | ||
Comment 7•5 years ago
|
||
As for document.fonts, I don't think we intentionally meant to apply
CSP to User/UserAgent fonts. The document certainly has no authority
to block those from loading. (We already have a separate principal
for these which is further evidence that this was unintentional
and we can use the same bit (mUseOriginPrincipal) to avoid CSP.)
Depends on D111694
| Assignee | ||
Comment 8•5 years ago
|
||
Depends on D111695
| Assignee | ||
Comment 9•5 years ago
|
||
| Assignee | ||
Comment 10•5 years ago
|
||
Depends on D111696
Comment 11•4 years ago
|
||
Comment 14•4 years ago
|
||
| Assignee | ||
Comment 15•4 years ago
|
||
Sigh, inert-retargeting-iframe.tentative.html is just a poorly written test... Filed bug 1716171.
Comment 16•4 years ago
|
||
Comment 17•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/82bc8b9b8bb8
https://hg.mozilla.org/mozilla-central/rev/1efb6391d712
https://hg.mozilla.org/mozilla-central/rev/9ab332d94fbb
https://hg.mozilla.org/mozilla-central/rev/fc9009240a43
https://hg.mozilla.org/mozilla-central/rev/5c912a806605
https://hg.mozilla.org/mozilla-central/rev/04385f050f0e
https://hg.mozilla.org/mozilla-central/rev/47b4452c0a60
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Description
•