This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #1324 system-test: fix 'url-valued stylesheet attributes' flake Fixes #1356 rm range based loops for c++98 compatibility in branch 33
- Loading branch information
1 parent
0654743
commit 59a1982
Showing
7 changed files
with
153 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,26 @@ | |||
<!-- this should get inlined --> | |||
<link rel=stylesheet href="../mod_pagespeed_example/styles/bold.css"> | |||
|
|||
<!-- these should get rewritten in-place --> | |||
<link data-stylesheet="../mod_pagespeed_example/styles/bold.css"> | |||
<span data-stylesheet-a="../mod_pagespeed_example/styles/bold.css" | |||
data-stylesheet-b="../mod_pagespeed_example/styles/bold.css" | |||
data-stylesheet-c="../mod_pagespeed_example/styles/bold.css"></span> | |||
|
|||
<!-- this should still get rewritten in-place --> | |||
<link rel=invalid data-stylesheet="../mod_pagespeed_example/styles/bold.css"> | |||
|
|||
<!-- this should get inlined, and data-stylesheet rewritten in-place --> | |||
<link rel=stylesheet | |||
href="../mod_pagespeed_example/styles/bold.css" | |||
data-stylesheet="../mod_pagespeed_example/styles/bold.css"> | |||
|
|||
<!-- javascript to give a combining barrier --> | |||
<script src="this-doesnt-exist.js"></script> | |||
|
|||
<!-- combining should treat span/data-stylesheet-a as a barrier --> | |||
<link rel=stylesheet href="../mod_pagespeed_example/styles/blue.css"> | |||
<span data-stylesheet-a="../mod_pagespeed_example/styles/bold.css"></span> | |||
<link rel=stylesheet href="../mod_pagespeed_example/styles/yellow.css"> | |||
|
|||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.