fieldset[disabled] input -- does it supported in UXP?

Discussions about the development and maturation of the Unified XUL Platform (UXP).
Warning: may contain highly-technical topics.

Moderator: trava90

Post Reply
fifonik
Moonbather
Moonbather
Posts: 54
Joined: 2014-08-29, 02:21
Location: Brisbane, Australia

fieldset[disabled] input -- does it supported in UXP?

Post by fifonik » 2020-05-20, 00:09

Code: Select all

<html>
<body>
<form>
<fieldset disabled>
	<input type="text" name="text"/>
	<input type="checkbox" name="checkbox" value="1" />
</fieldset>
</form>
</body>
</html>
Chrome, Fx, Edge -- inputs in disabled fieldset are disabled.
This works for ages: https://caniuse.com/#search=fieldset

Tn Palemoon 28.9.3 -- fields are enabled.

Is it known bug or this is not implemented intentionally?

Thanks.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 26661
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: fieldset[disabled] input -- does it supported in UXP?

Post by Moonchild » 2020-05-20, 00:50

That seems to be a regression, regressed 28.8.4 -> 28.9.0. Potentially the html parser work we did... ?
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

User avatar
New Tobin Paradigm
Off-Topic Sheriff
Off-Topic Sheriff
Posts: 7197
Joined: 2012-10-09, 19:37
Location: Insulting you on the internet.

Re: fieldset[disabled] input -- does it supported in UXP?

Post by New Tobin Paradigm » 2020-05-20, 01:03

I am sure I updated the parser codegen so everything was code equal. Only difference was formatting in the generated code when I was done.
Image
- thEre iS No wAY oUt of HErE.. iT'll bE DArK sOON.. -
https://binaryoutcast.com/ | Freenode #binaryoutcast | http://thereisonlyxul.org/

User avatar
New Tobin Paradigm
Off-Topic Sheriff
Off-Topic Sheriff
Posts: 7197
Joined: 2012-10-09, 19:37
Location: Insulting you on the internet.

Re: fieldset[disabled] input -- does it supported in UXP?

Post by New Tobin Paradigm » 2020-05-20, 01:34

Image
- thEre iS No wAY oUt of HErE.. iT'll bE DArK sOON.. -
https://binaryoutcast.com/ | Freenode #binaryoutcast | http://thereisonlyxul.org/

User avatar
adesh
Keeps coming back
Keeps coming back
Posts: 948
Joined: 2017-06-06, 07:38

Re: fieldset[disabled] input -- does it supported in UXP?

Post by adesh » 2020-05-20, 03:12

Off-topic:
Does it make sense to have tests for such things? Catching regressions on web compatibility/standards breakage.

User avatar
New Tobin Paradigm
Off-Topic Sheriff
Off-Topic Sheriff
Posts: 7197
Joined: 2012-10-09, 19:37
Location: Insulting you on the internet.

Re: fieldset[disabled] input -- does it supported in UXP?

Post by New Tobin Paradigm » 2020-05-20, 04:30

We have reftests. Would you like to keep them up to date and run them each cycle? That might help.
Image
- thEre iS No wAY oUt of HErE.. iT'll bE DArK sOON.. -
https://binaryoutcast.com/ | Freenode #binaryoutcast | http://thereisonlyxul.org/

User avatar
adesh
Keeps coming back
Keeps coming back
Posts: 948
Joined: 2017-06-06, 07:38

Re: fieldset[disabled] input -- does it supported in UXP?

Post by adesh » 2020-05-20, 04:57

Sure, I can try. I'll first need to learn how to build and run tests and how the in-tree test suite works in general.

User avatar
New Tobin Paradigm
Off-Topic Sheriff
Off-Topic Sheriff
Posts: 7197
Joined: 2012-10-09, 19:37
Location: Insulting you on the internet.

Re: fieldset[disabled] input -- does it supported in UXP?

Post by New Tobin Paradigm » 2020-05-20, 05:20

Welp.. I figured out what the issue is.. Now as for what to do about it.. I dunno. Stay tuned or watch the Issue.
Image
- thEre iS No wAY oUt of HErE.. iT'll bE DArK sOON.. -
https://binaryoutcast.com/ | Freenode #binaryoutcast | http://thereisonlyxul.org/

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 26661
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: fieldset[disabled] input -- does it supported in UXP?

Post by Moonchild » 2020-05-20, 09:41

Thanks for looking into this and finding the culprit, Tobin (it was tossed my way right before sleep took me so I couldn't do anything myself; nice to see progress first thing after waking up :) )
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

Post Reply