Re:Things I Learned Reading Webkit’s UA Stylesheet
by sitharus on Monday July 19, 2021 @03:31PM
(#27886432)
It’s not legacy behaviour for Safari, it’s legacy behaviour for the web. Browsers support all sorts of issues created by old browsers and loose html specs - see the comment about the special value to centre text like Netscape 4 did.
[ Parent
| on HN ]
Re:Things I Learned Reading Webkit’s UA Stylesheet
by SahAssar on Monday July 19, 2021 @03:41PM
(#27886531)
That's why I added the question saying "Or am I misunderstanding the paragraph and it's really about emulating legacy browser behavior?"
Still feels to me like that would be the last place to require apple-specific properties or variables, since if it emulates old browsers it should not ever change, right?
Re:Things I Learned Reading Webkit’s UA Stylesheet
by sitharus on Thursday July 22, 2021 @03:58AM
(#27916540)
They use Apple-specific properties because these are non-spec behaviours that nobody should be using. Since there’s no official way of invoking these legacy behaviours they’re placed behind vendor properties. Firefox does the same thing.