| | 60 | === DoCoMoCSS and DoCoMoGUID with config |
| | 61 | --- user_agent |
| | 62 | DoCoMo/1.0/D501i |
| | 63 | --- config |
| | 64 | filters: |
| | 65 | - module: DoCoMoCSS |
| | 66 | config: |
| | 67 | base_dir: t/ |
| | 68 | - module: DoCoMoGUID |
| | 69 | config: |
| | 70 | abs: 1 |
| | 71 | --- input |
| | 72 | <html> |
| | 73 | <head> |
| | 74 | <link rel="stylesheet" href="/01_docomo/foo.css" /> |
| | 75 | </head> |
| | 76 | <body> |
| | 77 | <a href="http://hoge/foo">foo</a> |
| | 78 | <div class="title">bar</div> |
| | 79 | </body> |
| | 80 | </html> |
| | 81 | --- expected |
| | 82 | <?xml version="1.0" encoding="UTF-8"?> |
| | 83 | <!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/1.0) 1.0//EN" "i-xhtml_4ja_10.dtd"> |
| | 84 | <html> |
| | 85 | <head> |
| | 86 | <link rel="stylesheet" href="/01_docomo/foo.css"/> |
| | 87 | </head> |
| | 88 | <body style="background:orange"> |
| | 89 | <a href="http://hoge/foo?guid=ON">foo</a> |
| | 90 | <div class="title" style="color:red">bar</div> |
| | 91 | </body> |
| | 92 | </html> |