"filter" applied to "html" element breaks height calculations
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
People
(Reporter: steven, Unassigned)
Details
Comment 1•8 years ago
|
||
| Reporter | ||
Comment 2•8 years ago
|
||
| Reporter | ||
Comment 4•7 years ago
|
||
Sorry to bump this bug report, but it's now been a few days short of a full year since I filed this bug. This still hasn't been fixed (currently using Firefox 65.0) and this still affects me.
Since this was originally posted, The Dark Reader extension added different mode options for darkening web pages: "Filter", "Filter+", "Static", and "Dynamic".
Filter and Filter+ are the two modes affected by this issue. I found a more concrete example for what I mentioned in comment 2 above. The symptoms differ from what I described in the initial report, but I believe they stem from the same problem (some kind of height/position calculation is busted):
- Install The Dark Reader, using either Filter or Filter+.
- Install Imagus.
- Open any page on Wikipedia with images.
- Scroll the viewport down, and note that hovering over images causes Imagus to place the larger image in the wrong position (the top of the page, outside the viewport if you scroll far enough).
For the above, my hack to use a userstyle of "html { height: 100%; }" doesn't affect it in any way.
The other two modes (Static and Dynamic) work, but aren't as useful most of the time. Static usually creates an ugly result unless the page is extremely simple and has no gradients or anything. Dynamic creates beautiful results, but they take a lot of CPU time to produce and dramatically reduce responsiveness of the pages (presumably due to use of DOM MutationObserver).
Comment 5•7 years ago
|
||
See bug 1423746 for the discussions. The tl;dr is that we implemented what the spec said at the time, and people are figuring out what it should do in https://github.com/w3c/fxtf-drafts/issues/282.
Description
•