www.elmundo.es - Page layout is broken
Categories
(Web Compatibility :: Site Reports, defect, P1)
Tracking
(Webcompat Priority:P1, Webcompat Score:10, firefox-esr115 unaffected, firefox-esr140 unaffected, firefox-esr153 unaffected, firefox155 unaffected, firefox156 disabled, firefox157 fixed)
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox-esr153 | --- | unaffected |
| firefox155 | --- | unaffected |
| firefox156 | --- | disabled |
| firefox157 | --- | fixed |
People
(Reporter: bfarkas, Unassigned)
References
(Regression, )
Details
(Keywords: regression, webcompat:needs-diagnosis, webcompat:site-report, Whiteboard: [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][webcompat:sightline][webcompat:core])
User Story
autowebcompat-repro-status:success autowebcompat-repro-chrome-mask-fixed:false autowebcompat-repro-channels:nightly autowebcompat-repro-report-os:all platform:windows,mac,linux,android impact:site-broken configuration:general affects:all branch:release diagnosis-team:dom user-impact-score:2000 autowebcompat-diagnosis-status:success
Attachments
(4 files)
Environment:
Operating system: Windows 10
Firefox version: Firefox 156.0 / Firefox Nightly 157.0a1 (2026-09-02)
Steps to reproduce:
- Access: https://www.elmundo.es/
- Observe the page
Expected Behavior:
The page is displayed accordingly
Actual Behavior:
Page layout is broken
Notes:
- Reproduces regardless of the status of ETP
- Reproduces in firefox-nightly, and firefox-release
- Does not reproduce in chrome
Created from https://github.com/webcompat/web-bugs/issues/233556
| Reporter | ||
Updated•2 months ago
|
| Reporter | ||
Comment 1•2 months ago
|
||
Updated•2 months ago
|
Updated•2 months ago
|
Comment 2•2 months ago
|
||
On the elmundo.es front page, Firefox renders a large block of the page's own HTML/JS source as visible text below the header (inline script contents and markup such as googletag.cmd.push(...) and <div class="ue-l-main-header__bottom">). This raw text occupies the top of the page and displaces the normal front-page article grid, breaking the layout. Chrome renders the same page correctly with no leaked source text.
Comment 3•2 months ago
|
||
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Comment 4•2 months ago
|
||
Root cause analysis generated by autowebcompat bot:
Firefox matches a non-leftmost :host against any element; per CSS Scoping 1 the shadow host is featureless, so .elmundo-theme-v9 :host in the site stylesheet must match nothing. In Gecko it behaves like .elmundo-theme-v9 star, setting display block on every descendant of main.
Evidence:
Delta-debugging main-cover.css isolated .elmundo-theme-v9 :host display block. Inline SCRIPT under main computes block in Firefox, none in Chrome, so googletag source leaks into body.innerText. Testcase: Firefox script=block span=block, Chrome script=none span=inline.
Comment 5•2 months ago
|
||
Comment 6•2 months ago
|
||
Updated•2 months ago
|
Updated•2 months ago
|
Description
•