Skip to content

Fix: Add Doctype to be in standard mode #17087

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

Merged
merged 1 commit into from
Mar 27, 2023
Merged

Conversation

Dedelweiss
Copy link
Contributor

@Dedelweiss Dedelweiss commented Mar 11, 2023

In this PR, I added the <!DOCTYPE html> in the HtmlRenderer file.
I combined in the def page content the tag html with all the content of the page (head, body,...) and the Doctype.

Result :

Screenshot 2023-03-13 at 16 03 43

(On chrome)
Screenshot 2023-03-13 at 16 04 36

Fixes #16803

@Dedelweiss Dedelweiss force-pushed the quirk_mode branch 5 times, most recently from bed1eff to 0e4b999 Compare March 13, 2023 15:01
@Dedelweiss Dedelweiss requested a review from Florian3k March 14, 2023 15:55
@Dedelweiss Dedelweiss changed the title WIP: Add Doctype to be in standard mode Fix: Add Doctype to be in standard mode Mar 14, 2023
@Dedelweiss Dedelweiss marked this pull request as ready for review March 14, 2023 15:56
Copy link
Contributor

@Florian3k Florian3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@ckipp01 ckipp01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Dedelweiss!

@ckipp01 ckipp01 merged commit 0625d1c into scala:main Mar 27, 2023
Dedelweiss added a commit to Dedelweiss/dotty that referenced this pull request Apr 17, 2023
In this PR, I added the `<!DOCTYPE html>` in the HtmlRenderer file. 
I combined in the def page content the tag html with all the content of
the page (head, body,...) and the Doctype.

## Result :
<img width="400" alt="Screenshot 2023-03-13 at 16 03 43"
src="https://user-images.githubusercontent.com/44496264/224742326-280b1f86-e578-4f25-8d13-9ca39f6c0aec.png">

(On chrome)
<img width="400" alt="Screenshot 2023-03-13 at 16 04 36"
src="https://user-images.githubusercontent.com/44496264/224742405-c5dbc809-c085-4cde-aa4d-4faffc088682.png">

Fixes scala#16803
@Kordyjan Kordyjan added this to the 3.3.1 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOCTYPE missing from scaladoc
4 participants