| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Thanks for this. The changes look fine. However the test case SizeTest should be extended to cover the units now supported. Also, could you add an entry to CHANGELOG.md (newest first)? I've also made a suggestion to make a DocBlock comment more maintainable.
Sorry, something went wrong.
| { | ||
| /** | ||
| * vh/vw/vm(ax)/vmin/rem are absolute insofar as they don’t scale to the immediate parent (only the viewport) | ||
| * vh/vw/vm(ax)/vmin/rem/svh/lvh/dvh/svw/lvw/dvw are absolute insofar as they don’t scale to the immediate parent (only the viewport) |
There was a problem hiding this comment.
Rather than having to maintain the llist of units in the comment, it might be better to make the comment generic.
| * vh/vw/vm(ax)/vmin/rem/svh/lvh/dvh/svw/lvw/dvw are absolute insofar as they don’t scale to the immediate parent (only the viewport) | |
| * These are absolute insofar as they don’t scale to the immediate parent (only the viewport). |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR adds more size units to be correctly recognized by the parser.