Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(319)

Issue 381041: Create StyleAdjacency rewriter (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 10 months ago by johnfargo
Modified:
15 years, 10 months ago
Reviewers:
zhoresh, shindig.remailer
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Description

Using the Visitor paradigm, implements a rewriter that pulls all <style>, <link rel="stylesheet"..>, and <link type="*css*"...> nodes into <head> in document-relative order, adjacent to one another. As noted in the comments, this maintains CSS semantics in all but the most pathological cases while assisting in reducing browser repaints and making concatenation operations more likely. This CL also includes a StyleConcatContentRewriter impl using the ConcatVisitor's CSS class.

Patch Set 1 #

Messages

Total messages: 2
johnfargo
15 years, 10 months ago (2010-03-10 01:21:39 UTC) #1
zhoresh
15 years, 10 months ago (2010-03-10 01:36:03 UTC) #2
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b