Closed Bug 2068581 Opened 2 months ago Closed 2 months ago

www.elmundo.es - Page layout is broken

Categories

(Web Compatibility :: Site Reports, defect, P1)

Desktop
Windows 10

Tracking

(Webcompat Priority:P1, Webcompat Score:10, firefox-esr115 unaffected, firefox-esr140 unaffected, firefox-esr153 unaffected, firefox155 unaffected, firefox156 disabled, firefox157 fixed)

RESOLVED DUPLICATE of bug 2068042
Webcompat Priority P1
Webcompat Score 10
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:

  1. Access: https://www.elmundo.es/
  2. 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

Whiteboard: [webcompat-source:web-bugs] → [webcompat-source:web-bugs][autowebcompat:processed]
User Story: (updated)
Whiteboard: [webcompat-source:web-bugs][autowebcompat:processed] → [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:diagnose]

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.

Whiteboard: [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:diagnose] → [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:diagnose][webcompat:sightline][webcompat:core]
Whiteboard: [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:diagnose][webcompat:sightline][webcompat:core] → [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][webcompat:sightline][webcompat:core][autowebcompat:diagnosis-in-progress]
Severity: -- → S2
User Story: (updated)
Webcompat Priority: --- → P1
Webcompat Score: --- → 10
Priority: -- → P1

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.

User Story: (updated)
Whiteboard: [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][webcompat:sightline][webcompat:core][autowebcompat:diagnosis-in-progress] → [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][webcompat:sightline][webcompat:core]
Status: NEW → RESOLVED
Closed: 2 months ago
Duplicate of bug: 2068042
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: