Support full <image> syntax in list-style-image as per spec.
Categories
(Core :: Layout: Generated Content, Lists, and Counters, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
()
Details
(Keywords: dev-doc-complete)
Attachments
(6 files, 1 obsolete file)
And simplify nsBulletFrame while at it.
Assignee | ||
Comment 1•4 years ago
|
||
This allows supporting image-set(), etc, and simplifies the bullet frame
code significantly, too thanks to two changes:
-
Instead of manually managing the image request, use the CSS image
loader, with theREQUEST_REQUIRES_REFLOW
flag, to handle image
loads correctly. This didn't exist when this code was initially
implemented, but we can nicely use it now. -
Instead of re-implementing another WebRender command-builder thing,
we can just reuse the nsImageRenderer code.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 4•4 years ago
|
||
Backed out changeset 47c73e5e08a4 (bug 1685078) for multiple failures related to CSS. CLOSED TREE
Logs:
https://treeherder.mozilla.org/logviewer?job_id=326045577&repo=autoland&lineNumber=3099
https://treeherder.mozilla.org/logviewer?job_id=326045594&repo=autoland&lineNumber=4220
https://treeherder.mozilla.org/logviewer?job_id=326045573&repo=autoland&lineNumber=3039
Push with failures:
https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&revision=47c73e5e08a49504a7200236010c01ea2a2a6fdb
Backout:
https://hg.mozilla.org/integration/autoland/rev/762cc086cd05a231dbeecad8e80dd6c524838ebc
Assignee | ||
Comment 5•4 years ago
|
||
The current test relies on the explicit decoding that we start
triggering unconditionally right now, and which my previous patch
removes:
Remove the text so that the animation polling stuff detects when the
image loads (otherwise it sees a non-blank paint and starts thinking
that stuff is loaded, taking the reference snapshot too early).
Depends on D100774
Assignee | ||
Comment 6•4 years ago
|
||
For bullets we don't want to start blocking onload. It shouldn't matter
anyhow but it's simpler and easier not to change behavior.
While at it avoid some expensive includes in ImageLoader.h
Updated•4 years ago
|
Assignee | ||
Comment 7•4 years ago
|
||
Assignee | ||
Comment 8•4 years ago
|
||
Depends on D101069
Assignee | ||
Comment 9•4 years ago
|
||
These will make the following patch clearer.
Depends on D101070
Assignee | ||
Comment 10•4 years ago
|
||
Without blocking onload (which preserves behavior before this patch
series) or requiring a decode for stuff like invisible bullets.
Depends on D101071
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 11•4 years ago
|
||
Comment 12•4 years ago
|
||
Comment 13•4 years ago
|
||
Assignee | ||
Comment 14•4 years ago
|
||
(In reply to Pulsebot from comment #13)
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/329ab5768e51
Correctly keep sync-decoding images.
Jeff, mind sanity-checking this commit? It's basically ensuring we pass the right flags to nsImageRenderer, which prevents intermittent reftest failures that the sheriffs pinged me about. Should be pretty straight-forward, but ended up touching a bit more code than I initially thought so probably deserves another look.
Comment 16•4 years ago
|
||
Comment 17•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/66d167aa16ea
https://hg.mozilla.org/mozilla-central/rev/0da6fc5419b3
https://hg.mozilla.org/mozilla-central/rev/9084c962424d
https://hg.mozilla.org/mozilla-central/rev/eff6aadf75c0
https://hg.mozilla.org/mozilla-central/rev/277a1d56fccd
https://hg.mozilla.org/mozilla-central/rev/04b98b03122f
https://hg.mozilla.org/mozilla-central/rev/1771307a8438
https://hg.mozilla.org/mozilla-central/rev/329ab5768e51
https://hg.mozilla.org/mozilla-central/rev/645a4d6461ca
Comment 19•4 years ago
|
||
Added to release note, docs updated with a non URL example, and a note added to BCD.
Description
•