diff options
| author | Tatsuya Kinoshita <tats@debian.org> | 2021-02-14 14:12:36 +0000 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-14 14:12:36 +0000 | 
| commit | eafca63aa10270a08fe484b97f0d3d7c1f10408d (patch) | |
| tree | 4d0ea51de027e9ee67b3e96c813a1306f4635e86 /tests | |
| parent | Update ChangeLog (diff) | |
| parent | Fix a mistake I made with </dd> and </dt> tags (diff) | |
| download | w3m-eafca63aa10270a08fe484b97f0d3d7c1f10408d.tar.gz w3m-eafca63aa10270a08fe484b97f0d3d7c1f10408d.zip | |
Merge pull request #167 from bptato/master
Improved description list rendering
Diffstat (limited to '')
| -rw-r--r-- | tests/dl.expected | 37 | ||||
| -rw-r--r-- | tests/dl.html | 56 | 
2 files changed, 93 insertions, 0 deletions
| diff --git a/tests/dl.expected b/tests/dl.expected new file mode 100644 index 0000000..b7af148 --- /dev/null +++ b/tests/dl.expected @@ -0,0 +1,37 @@ +w3m +WWW wo miru +    A pager with web browsing capabilities, +    maintained for Debian. + +Firefox +(linebreak) +FF  A free, open source, cross-platform, +    graphical web browser developed by the +    Mozilla Corporation and hundreds of +    volunteers. +    The Red Panda also known as the Lesser +    Panda, Wah, Bear Cat or Firefox, is a +    mostly herbivorous mammal, slightly larger +    than a domestic cat (60 cm long). + +Non-compact dl +w3m +WWW wo miru +    A pager with web browsing capabilities, +    maintained for Debian. + +Firefox +(linebreak) + +FF +    A free, open source, cross-platform, +    graphical web browser developed by the +    Mozilla Corporation and hundreds of +    volunteers. +    nested +        com item +    The Red Panda also known as the Lesser +    Panda, Wah, Bear Cat or Firefox, is a +    mostly herbivorous mammal, slightly larger +    than a domestic cat (60 cm long). + diff --git a/tests/dl.html b/tests/dl.html new file mode 100644 index 0000000..618eef4 --- /dev/null +++ b/tests/dl.html @@ -0,0 +1,56 @@ +<dl compact> +  <dt>w3m</dt> +  <dt>WWW wo miru</dt> +  <dd> +    A pager with web browsing capabilities,<br> +    maintained for Debian. +  </dd> +  <dt><br>Firefox<br>(linebreak)</dt><br> +  <dt>FF</dt> +  <dd> +    A free, open source, cross-platform,<br> +    graphical web browser developed by the<br> +    Mozilla Corporation and hundreds of<br> +    volunteers. +  </dd> +  <dd> +    The Red Panda also known as the Lesser<br> +    Panda, Wah, Bear Cat or Firefox, is a<br> +    mostly herbivorous mammal, slightly larger<br> +    than a domestic cat (60 cm long). +  </dd> +</dl> +<dl> +  Non-compact dl +  <dt>w3m</dt> +  <dt>WWW wo miru</dt> +  <dd> +    A pager with web browsing capabilities,<br> +    maintained for Debian. +  </dd> +  <dt><br>Firefox<br>(linebreak)</dt><br> +  <dt>FF</dt> +  <dd> +    A free, open source, cross-platform,<br> +    graphical web browser developed by the<br> +    Mozilla Corporation and hundreds of<br> +    volunteers. +    <dl> +      <dt>nested</dt> +      <dd> +        <dl compact> +          <dt>com</dt> +          <dd> +            item +          </dd> +        </dl> +      </dd> +    </dl> +  </dd> +  <dd> +    The Red Panda also known as the Lesser<br> +    Panda, Wah, Bear Cat or Firefox, is a<br> +    mostly herbivorous mammal, slightly larger<br> +    than a domestic cat (60 cm long). +  </dd> +</dl> | 
