Is it possible to run on the server-side the same process that browsers run in order to apply CSS to the DOM?
例如,我可以采用超文本文件,适用所有中央支助事务规则(连接、嵌入和直线),为其属性拟订任何内容。 我对盒式模式(即位置、边远、边界和dding)大多数感到关切。
The only way I can think of so far is to use Selenium RC and jQuery to pass the values back. However, this seems very resource-intensive, so I m wondering if there s another way. I ve looked around Google and searches for parsing CSS only bring results for reading individual styles, not applying all CSS rules it to the whole DOM and then working out the results.
任何语言都会使用。
Example (not the real use case, but a similar one)
你们重新构建一个使了解超文本和中央安全局的人能够生成 Java全球信息。 公益物协会允许开发商以超文本形式通过,然后回到所有法文本中来构造全球倡议,所有要素的大小和位置相同。