Open Bug 1523134 Opened 5 years ago Updated 2 years ago

Inconsistent color painting

Categories

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

defect

Tracking

()

People

(Reporter: smaug, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(2 files)

Attached file newline.html

The testcase is a copy of https://searchfox.org/mozilla-central/source/layout/reftests/first-line/restyle-inside-first-line.html

'This' is either black or purple. As far as I see, it should be always purple.

While changing RefreshDriver scheduling, the reftest starts to fail randomly, but based on the testcase the issue is already in Nightly.

Style system issue involving first-line...

Component: Layout → CSS Parsing and Computation

(In reply to Xidorn Quan [:xidorn] UTC+11 from comment #1)

Style system issue involving first-line...

This seems more of a painting issue, since switching tabs back and forth fixes it (at least here with WebRender enabled)...

Component: CSS Parsing and Computation → Web Painting
Depends on: 1465474
Priority: -- → P3

Guess I shouldn't prioritize Web Painting bugs.

Priority: P3 → --

Adding a layout flush after the style change makes it consistently wrong here...

So maybe a style system issue after all.

FWIW, I don't have web render enabled.

Component: Web Painting → CSS Parsing and Computation
Priority: -- → P3

Huh, or not, since even in that test-case it shows purple when selecting and de-selecting the text, which shouldn't cause any restyling to happen... Weird

Selecting and de-selecting can trigger ::selection to apply I suppose? But yeah probably no restyling there...

Blocks: 1523282
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: