Skip to content

Conversation

tneotia
Copy link
Contributor

@tneotia tneotia commented May 1, 2021

Adds lower/upper roman, latin, and alpha, along with circle/square list style types.

Adds support for getting list style type from inline CSS when present.

Lower/upper roman, latin, and alpha support the start attribute.

Fixes #704.

…into feature/list-style-type

� Conflicts:
�	lib/src/css_parser.dart
@nishantr4p
Copy link

We should add NONE also as supported type :(
list-style-type: none;

@tneotia tneotia deleted the feature/list-style-type branch December 14, 2021 11:27
@tneotia
Copy link
Contributor Author

tneotia commented Dec 14, 2021

That is there within the package already as well

@nishantr4p
Copy link

nishantr4p commented Dec 14, 2021

Then I need to debug why its not working.. Thanks will check

<ul style='list-style-type:none; list-style: none;'>
<li></li>
</ul>

@tneotia
Copy link
Contributor Author

tneotia commented Dec 14, 2021

Ah, actually I am wrong, we don't support getting none list-style from CSS. You can manually set that inside customRender though. I will make an issue to add this functionality.

@nishantr4p
Copy link

nishantr4p commented Dec 14, 2021

Ah, actually I am wrong, we don't support getting none list-style from CSS. You can manually set that inside customRender though. I will make an issue to add this functionality.

Thanks .. take your time.. I did a work around using <p> with image. if the property is supported it can be controlled from server and make this library more powerful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] list-style-type not working

3 participants