Package org.apache.tapestry5.internal.services.javascript

## Class AddBrowserCompatibilityStyles

- java.lang.Object
- - org.apache.tapestry5.internal.services.javascript.AddBrowserCompatibilityStyles

- All Implemented Interfaces:
    `MarkupRendererFilter`

      public class AddBrowserCompatibilityStyles
      extends Object
      implements MarkupRendererFilter

  Responsible for adding additional style tags that contain directives for non-standards compatible browsers
  Since:
    5.4

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AddBrowserCompatibilityStyles()` |
    `AddBrowserCompatibilityStyles​(double opacity)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `renderMarkup​(MarkupWriter writer, MarkupRenderer renderer)` | Implementations should perform work before or after passing the writer to the renderer.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AddBrowserCompatibilityStyles

          public AddBrowserCompatibilityStyles()

    - #### AddBrowserCompatibilityStyles

          public AddBrowserCompatibilityStyles​(double opacity)

  - ### Method Detail

    - #### renderMarkup

          public void renderMarkup​(MarkupWriter writer,
                                   MarkupRenderer renderer)

      Description copied from interface: `MarkupRendererFilter`
      Implementations should perform work before or after passing the writer to the renderer.
      Specified by:
        `renderMarkup` in interface `MarkupRendererFilter`
      Parameters:
        `writer` - to which markup should be written
        `renderer` - delegate to which the writer should be passed.