发明名称 Stylesheet conversion engine
摘要 In one embodiment, a method includes receiving a browser-independent cascading style sheet (CSS) that conforms to a CSS standard, and automatically modifying the browser-independent CSS to incorporate different CSS related features of various browsers. The method further includes creating one or more CSS files customized for the various browsers.
申请公布号 US8775926(B2) 申请公布日期 2014.07.08
申请号 US200812156136 申请日期 2008.05.30
申请人 Red Hat, Inc. 发明人 Viet Julien
分类号 G06F17/00 主分类号 G06F17/00
代理机构 Lowenstein Sandler LLP 代理人 Lowenstein Sandler LLP
主权项 1. A method comprising: receiving a browser-independent cascading style sheet (CSS) file that conforms to a CSS standard, wherein the browser-independent CSS file is not customized for a specific browser type; creating, by a processing device, from the browser-independent CSS file, a custom CSS file customized for a plurality of browsers via a plurality of plugins, wherein each plugin of the plurality of plugins is configured for a corresponding one of the plurality of browsers, wherein creating the custom CSS file comprises: applying, via a first plugin of the plurality of plugins, one or more first CSS filters to the browser-independent CSS file according to a first interpretation of CSS behavior by a corresponding first browser of the plurality of browsers to create a first adjusted CSS file, at least one of the first CSS filters comprising a CSS hack;applying, via a second plugin of the plurality of plugins, one or more second CSS filters to the first adjusted independent CSS file according to a second interpretation of CSS behavior by a second browser of the plurality of browsers to create a second adjusted CSS file; andrepeating the applying via each remaining plugin of the plurality of plugins for each corresponding remaining browser of the plurality of browsers to create the custom CSS file.
地址 Raleigh NC US