:type style: dict :returns: A list of all emphasis modifiers of the element :rtype: list
(style: Dict[str, str])
| 110 | |
| 111 | |
| 112 | def google_text_emphasis(style: Dict[str, str]) -> List[str]: |
| 113 | """ |
| 114 | :type style: dict |
| 115 | |
| 116 | :returns: A list of all emphasis modifiers of the element |
| 117 | :rtype: list |
| 118 | """ |
| 119 | emphasis = [] |
| 120 | if "text-decoration" in style: |
| 121 | emphasis.append(style["text-decoration"]) |
| 122 | if "font-style" in style: |
| 123 | emphasis.append(style["font-style"]) |
| 124 | if "font-weight" in style: |
| 125 | emphasis.append(style["font-weight"]) |
| 126 | |
| 127 | return emphasis |
| 128 | |
| 129 | |
| 130 | def google_fixed_width_font(style: Dict[str, str]) -> bool: |
no outgoing calls
no test coverage detected
searching dependent graphs…