Bug 139272 - Web Inspector: inconsistent case-sensitivity in inspector overlay when document rendered in quirks mode
Summary: Web Inspector: inconsistent case-sensitivity in inspector overlay when docume...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-12-04 15:25 PST by Brian Burg
Modified: 2016-12-13 15:35 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Burg 2014-12-04 15:25:20 PST
It's annoying :(
Comment 1 Radar WebKit Bug Importer 2014-12-04 15:25:34 PST
<rdar://problem/19149826>
Comment 2 Joseph Pecoraro 2014-12-04 15:51:18 PST
If I do:

    shell> document.body.classList.add("tEsT")

Then hover <body> in the inspector the page overlay label does say "body.tEsT". Are you seeing otherwise?
Comment 3 Joseph Pecoraro 2014-12-04 15:58:44 PST
Seems to be a quirks mode thing.

No doctype (quirks), we canonicalize lowercase class name:
data:text/html,<h1%20class="tEsT">Test

With doctype, we show class name as is:
data:text/html,<!doctype%20html><h1%20class="tEsT">Test