- Timestamp:
- 04/14/09 18:48:33 (4 years ago)
- Location:
- lang/php/HTML_CSS_Mobile/trunk
- Files:
-
- 2 removed
- 2 modified
-
HTML/CSS/Mobile.php (modified) (3 diffs)
-
HTML/CSS/lib (deleted)
-
sample/sample.php (modified) (1 diff)
-
tests (deleted)
Legend:
- Unmodified
- Added
- Removed
-
lang/php/HTML_CSS_Mobile/trunk/HTML/CSS/Mobile.php
r32239 r32393 29 29 */ 30 30 31 require_once ' lib/selectorToXPath.php';31 require_once 'HTML/CSS/Selector2XPath.php'; 32 32 require_once 'HTML/CSS.php'; 33 33 … … 178 178 foreach ($css as $selector => $style) 179 179 { 180 // 疑似要素は退避。@ルールはスルー( selectorToXPath的にバグでやすい)180 // 疑似要素は退避。@ルールはスルー(Selector2XPath的にバグでやすい) 181 181 if (strpos($selector, '@') !== false) continue; 182 182 if (strpos($selector, ':') !== false) … … 186 186 } 187 187 188 $xpath = selectorToXPath::toXPath($selector);188 $xpath = HTML_CSS_Selector2XPath::toXPath($selector); 189 189 $elements = $this->dom_xpath->query($xpath); 190 190 -
lang/php/HTML_CSS_Mobile/trunk/sample/sample.php
r32380 r32393 1 1 <?php 2 2 $base_dir = dirname(__FILE__) . '/'; 3 require_once realpath($base_dir .'../HTML/CSS/Mobile.php'); 3 require_once realpath($base_dir .'../HTML/CSS/Mobile.php'); // 開発用 4 //require_once 'HTML/CSS/Mobile.php'; 4 5 5 6 $document = file_get_contents(realpath($base_dir.'sample.html'));
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)