Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #10674
Closed
Open
Issue created Sep 17, 2013 by Administrator@rootContributor

Controls inside fieldset[disabled]>legend:first-child styled disabled

Created by: darobin

As per HTML5, controls inside the legend first child of a disabled fieldset are not disabled. This is not a random decision and addresses notably the use case of having a radio or checkbox control in the fieldset, as part of the legend, deciding whether that fieldset is enabled or not. Fiddle: http://jsfiddle.net/tyVF4/2/.

I headed for the source to fix that, but then I saw this comment:

// Note: HTML5 says that controls under a fieldset > legend:first-child won't
// be disabled if the fieldset is disabled. Due to implementation difficulty,
// we don't honor that edge case; we style them as disabled anyway.

Is fixing this issue completely out of the question? If not, could you be more specific about "implementation difficulty" before I foolishly jump into it? Right now I'm overriding this with cursor: auto.

Assignee
Assign to
Time tracking