Bug 57915

Summary: Add <head> to the simpleUserAgentStyleSheet
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ddkilzer, joepeck, koivisto, psolanki
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
[PATCH] Add head to the simpleStyleSheet. none

Description Joseph Pecoraro 2011-04-05 21:02:06 PDT
I assume this is because of the new HTMLTreeBuilder, but basic HTMLDocuments contain
<html>, <head>, and <body>. But they were requiring loadFullDefaultStyle because
<head> is not in the simple stylesheet. It should be added, its very simple.
Comment 1 Joseph Pecoraro 2011-04-05 21:02:44 PDT
<rdar://problem/9240816>
Comment 2 Joseph Pecoraro 2011-04-05 21:16:38 PDT
Created attachment 88360 [details]
[PATCH] Add head to the simpleStyleSheet.
Comment 3 Joseph Pecoraro 2011-04-05 21:51:35 PDT
Comment on attachment 88360 [details]
[PATCH] Add head to the simpleStyleSheet.

It built fine for me.
Comment 4 Antti Koivisto 2011-04-05 22:12:25 PDT
Comment on attachment 88360 [details]
[PATCH] Add head to the simpleStyleSheet.

r=me
Comment 5 WebKit Commit Bot 2011-04-06 01:10:22 PDT
Comment on attachment 88360 [details]
[PATCH] Add head to the simpleStyleSheet.

Clearing flags on attachment: 88360

Committed r83032: <http://trac.webkit.org/changeset/83032>
Comment 6 WebKit Commit Bot 2011-04-06 01:10:27 PDT
All reviewed patches have been landed.  Closing bug.