Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add back id attribute to VDL of h:head and h:body #5186

Merged
merged 5 commits into from
Jan 30, 2023

Conversation

BalusC
Copy link
Contributor

@BalusC BalusC commented Dec 13, 2022

jakartaee/faces#1760

  • Add back id attribute to VDL of h:head and h:body
  • fix HeadRenderer to only output it when actually specified
  • fix BodyRenderer to only output it when HTML5 doctype is used""

…f h:head and h:body - fix HeadRenderer to only output it when actually specified - fix BodyRenderer to only output it when HTML5 doctype is used""

This reverts commit baf7998.
HeadRenderer encodeBegin complexity was already removed since
introduction of new Doctype interface, so it can now be tested
@BalusC
Copy link
Contributor Author

BalusC commented Dec 13, 2022

Ran entire tck localhost as well, all green.

@BalusC
Copy link
Contributor Author

BalusC commented Dec 14, 2022

Thomas can you review at least the spec change in taglib? https://github.com/eclipse-ee4j/mojarra/pull/5186/files#diff-a977313af2132f4b6dc25adc6bd8719a6822c5ae62ef547d1d7d82bbdc0baab3 Importantingly whether the wording "The attribute is only rendered when the current doctype is a HTML5 doctype" is clear enough for MyFaces to do the same.

@arjantijms arjantijms added this to the 4.1.0 milestone Dec 17, 2022
@arjantijms arjantijms added the 4.1 label Dec 17, 2022
@BalusC
Copy link
Contributor Author

BalusC commented Jan 28, 2023

@tandraschko can you please review?

@melloware
Copy link
Contributor

I know he is on holiday but i think he is back sometime next week.

@tandraschko
Copy link
Contributor

tandraschko commented Jan 30, 2023

@BalusC i wonder why this was removed in general?

In MyFaces it looks like we always render the head/body id if specified by the user, doent matter if html5 or not. Thats sounds correct to me.

@BalusC
Copy link
Contributor Author

BalusC commented Jan 30, 2023

It was accidentally removed, see also jakartaee/faces#1760 (comment)

@BalusC BalusC merged commit 3c5a76b into master Jan 30, 2023
@BalusC
Copy link
Contributor Author

BalusC commented Jan 30, 2023

Ok I've inferred your comment as approval, Thomas. Hereby merged! :)

@BalusC BalusC deleted the 1760_add_back_id_attribute_to_head_and_body branch February 6, 2023 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants