LibWeb: Border with undefined var()
renders default black border, unlike other browsers
#3202
Labels
bug
Something isn't working
css
has repro
We have a way to reproduce this bug.
reduction of web content
Issue has a simplified reduction based on real-world web content.
Summary
See reduced test case and screenshots.
I tried to read through the spec to figure out what's going on here, but I'm left quite confused...
From spec:
So I assumed that the entire declaration should be dropped. But, reading further, in Example 15, we see that
var()
should be substituted with theunset
keyword. Not sure what would be the correct behavior here, so I'm leaving figuring this out to someone who actually knows what he is doing :^)Operating system
Linux
Steps to reproduce
N/A
Expected behavior
Border shouldn't show up at all
Actual behavior
It's rendered
URL for a reduced test case
N/A
HTML/SVG/etc. source for a reduced test case
Log output and (if possible) backtrace
Screenshots or screen recordings
Build flags or config settings
No response
Contribute a patch?
The text was updated successfully, but these errors were encountered: