This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26454 - <fieldset> elements that are descendants of disabled <fieldset> elements should also match :disabled
Summary: <fieldset> elements that are descendants of disabled <fieldset> elements shou...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-29 09:39 UTC by contributor
Modified: 2014-09-05 23:01 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2014-07-29 09:39:05 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting.html
Multipage: http://www.whatwg.org/C#disabled-elements
Complete: http://www.whatwg.org/c#disabled-elements
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting.html

Comment:
fieldset descendant of a disabled fieldset should match :disabled

Posted from: 87.64.245.230 by ms2ger@gmail.com
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
Comment 1 Ms2ger 2014-07-29 09:46:23 UTC
Looking at <http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3080>, Fx and Chrome already do this; IE (or at least the version I have here, claims to be 11.0.9431.0) seems to pay no attention to fieldset[disabled] for :disabled matching at all.
Comment 2 Ms2ger 2014-07-29 10:37:51 UTC
Anne says Safari matches Fx/Chrome.
Comment 3 Ian 'Hixie' Hickson 2014-07-29 16:51:25 UTC
That's... what the spec says, no?
Comment 4 Ms2ger 2014-07-29 16:54:26 UTC
<http://www.whatwg.org/html/#concept-element-disabled> says "fieldset elements that have a disabled attribute"
Comment 5 Ian 'Hixie' Hickson 2014-07-29 16:57:28 UTC
Ah, interesting. I wonder how we ended up with interop here! I'll update the spec.
Comment 6 contributor 2014-09-05 23:01:20 UTC
Checked in as WHATWG revision r8753.
Check-in comment: Make sure :disabled matches fieldsets inside disabled fieldsets, since apparently that's a thing. Also, editorial cleanup around 'disabled'.
http://html5.org/tools/web-apps-tracker?from=8752&to=8753