Closed Bug 1309087 Opened 8 years ago Closed 7 years ago

stylo: img with alt text does not show on first load

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: shinglyu, Assigned: u459114)

References

Details

STR:
* Create a HTML file with a <img src="foo.jpeg" alt=""> (must have the alt)
* Load it in stylo with ./mach run --disable-e10s path/to/html

Expected:
  The image is shown correctly.

Actual:
  The image is missing. But if you refresh the page it will show up.

Notes:
  Can't seem to find a reftest that checks this, but it should be trivial to add.
Blocks: stylo
Could it be related to lack of support for something in this html.css rule:

img:-moz-broken::before, input:-moz-broken::before,
img:-moz-user-disabled::before, input:-moz-user-disabled::before,
img:-moz-loading::before, input:-moz-loading::before,
applet:-moz-empty-except-children-with-localname(param):-moz-broken::before,
applet:-moz-empty-except-children-with-localname(param):-moz-user-disabled::before {
  content: -moz-alt-content !important;
  unicode-bidi: isolate;
}

?
Summary: Stylo: img with alt text does not show on first load → stylo: img with alt text does not show on first load
Priority: -- → P3
Assignee: nobody → cku
Can not repro this issue on mc
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.