Uh oh!
There was an error while loading. Please reload this page.
[Text] Add textDecoration style attributes - #845
Conversation
vjeux
commented
Apr 14, 2015
Thanks for the pull request! Would be nice to follow the CSS naming convention for this And, if you can provide a jsfiddle that shows that the code works on a span on the web that would be awesome! |
KJlmfe
commented
Apr 15, 2015
@vjeux I changed the property name to follow the text-decoration-style, such as "solid", "double", "dashed", "dotted". And, text-decoration-style is only support on firefox. So the jsfiddle web demo is not really needed. |
vjeux
commented
Apr 15, 2015
We're trying to use web naming whenever possible, even if it's not implemented everywhere. This way we can redirect users to mdn documentation, and don't have to bikeshed on naming. |
bakso
commented
Apr 15, 2015
That's awesome! |
KJlmfe
commented
Apr 15, 2015
@vjeux I rewrite the code and change the pull request title and content. Now it follows the CSS naming convention and using method is same with CSS. And here is working on web demo: https://jsfiddle.net/kjlmfe/a1zvL6s8/1/ (Only for firefox) |
luics
commented
Apr 16, 2015
cool |
1 similar comment
mariodu
commented
Apr 16, 2015
cool |
liangfeidotme
commented
Apr 17, 2015
awesome ! DiaoZhaTian |
SoXeon
commented
Apr 17, 2015
66666! |
imochen
commented
Apr 17, 2015
看到,吊炸天。。。 |
brentvatne
commented
Jun 1, 2015
sahrens
commented
Jun 1, 2015
Looks great! Can you rebase, squash your commits, and re-record the TextExample snapshot test? Set reRecord yes here and run with cmd+U: Also, assigning over to @a2 who is our Text master. |
cssoul
commented
Jun 2, 2015
well done~ |
KJlmfe
commented
Jun 3, 2015
@sahrens I had merge branch 'facebook/react-native/master' into my master and resolve the conflicts. |
brentvatne
commented
Jun 15, 2015
@KJlmfe - instead of merging could you do a |
brentvatne
commented
Jun 23, 2015
@KJlmfe - I'm confused about what's going on here, I will close this but will happily re-open if you rebase and squash into one commit! Thanks 😄 |
KJlmfe
commented
Jun 29, 2015
@brentvatne I had rebased and squashed into one commit! See it KJlmfe@fdaca5d |
pcottle
commented
Jun 30, 2015
Can we reopen this? Would be sweet to get underlining in :D |
MossP
commented
Jul 3, 2015
did this ever get merged? |
pcottle
commented
Jul 4, 2015
I threw up a fresher version of this over at #1869 that was rebased, hopefully once the Travis CI build is green we can merge! |
Summary: This is simply a rebased and squashed version of @KJlmfe's PR over at react#845 It was actually already squashed into one commit, but for some reason that was hard to see from the original PR. Closesreact#1869 Github Author: KJlmfe <kjlmfe@gmail.com>
pcottle
commented
Jul 11, 2015
Woohoo! this made it into the underline all the things |
MossP
commented
Jul 11, 2015
👍 |
MossP
commented
Jul 14, 2015
Does it work for you, @pcottle? I don't seem to be seeing any text decoration. |
ide
commented
Jul 14, 2015
It's working in the UIExplorer. |
MossP
commented
Jul 14, 2015
Ah, it seems that my project has reverted to 0.7.1 somewhere along the line. Apologies. I'll go try again. |
MossP
commented
Jul 14, 2015
That fixed it, thanks @ide. Sorry for the newbie error. |
herbertdai
commented
Feb 17, 2016
Does it support Android in 0.19.0? |
Hello, what's the current status of this? I need |
* Initial conversion to issue forms * Updates to issue forms * Issue form must have non-empty title * Replace bug report markdown
I add
textDecorationLine,textDecorationStyle,textDecorationColorstyle property for Text module.And it follows the CSS naming convention and using method is same with CSS.
textDecorationLinerefers to: https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-linetextDecorationStylerefers to: https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-styletextDecorationColorrefers to: https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-colorHere is a simple demo:

