4 ms·
> I was using Firefox. Natalie pointed out that Chrome DevTools display default browser styles for elements [...] So does Firefox. Enable "Show Browser Styles"
by uallo 2y ago
> I was using Firefox. Natalie pointed out that Chrome DevTools display default browser styles for elements [...]
So does Firefox. Enable "Show Browser Styles" in the developer tools settings.
- simonw 2y agoThanks, that's useful - I added that to the document: https://til.simonwillison.net/css/dialog-full-height#user-content-update-firefox-can-show-browser-styles https://til.simonwillison.net/css/dialog-full-height#user-co... ... which also lead me to the html.css stylesheet in the Firefox source code, a really useful reference: https://searchfox.org/mozilla-central/source/layout/style/res/html.css https://searchfox.org/mozilla-central/source/layout/style/re... Here's a GitHub mirror with a commit log view showing changes over time: https://github.com/mozilla/gecko-dev/commits/master/layout/style/res/html.css https://github.com/mozilla/gecko-dev/commits/master/layout/s...
- uallo 2y ago- WHATWG https://html.spec.whatwg.org/multipage/rendering.html#rendering https://html.spec.whatwg.org/multipage/rendering.html#render... - Firefox https://hg.mozilla.org/mozilla-central/file/tip/layout/style/res/html.css https://hg.mozilla.org/mozilla-central/file/tip/layout/style... - Chromium https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/resources/html.css https://source.chromium.org/chromium/chromium/src/+/main:thi... - Webkit https://github.com/WebKit/WebKit/blob/main/Source/WebCore/css/html.css https://github.com/WebKit/WebKit/blob/main/Source/WebCore/cs...