GWT GSS解析器是否应该对媒体查询中属性和分号之间的空格敏感?

GWT GSS解析器是否应该对媒体查询中属性和分号之间的空格敏感?,gwt,Gwt,在UiBinder模板(GWT 2.8.1)中使用GSS,可以解析并执行以下操作: @media ( max-width: 767px) { ... } 但是,当最大宽度和:之间出现空格时(在我的例子中,空格是由IDE的格式化程序插入的),GSS解析将失败: @media ( max-width : 767px) { ... } 由此产生的GWT编译错误如下所示: binding: formfactor=desktop binding: user.agent=

在UiBinder模板(GWT 2.8.1)中使用GSS,可以解析并执行以下操作:

  @media ( max-width: 767px) {
    ...
  }
但是,当
最大宽度
之间出现空格时(在我的例子中,空格是由IDE的格式化程序插入的),GSS解析将失败:

  @media ( max-width : 767px) {
    ...
  }
由此产生的GWT编译错误如下所示:

binding: formfactor=desktop
binding: user.agent=safari
Compiling module com.example.ExampleDev
   Computing all possible rebind results for 'com.example.client.views.desktop.DesktopShellView.DesktopShellViewUiBinder'
      Rebinding com.example.client.views.desktop.DesktopShellView.DesktopShellViewUiBinder
         Invoking generator com.google.gwt.uibinder.rebind.UiBinderGenerator
            [ERROR] Unable to parse CSS
com.google.gwt.thirdparty.common.css.compiler.ast.GssParserException: Parse error in uiBinder_com.example.client.views.desktop_DesktopShellView_DesktopShellViewUiBinderImpl_GenCss_style7318912838006262484.gss at line 18 column 22:
  @media ( max-width : 767px) {
                     ^

    at com.google.gwt.thirdparty.common.css.compiler.ast.GssParserCC.parse(GssParserCC.java:227)
    at com.google.gwt.thirdparty.common.css.compiler.ast.GssParserCC.parse(GssParserCC.java:247)

这可能比“问题”更适合作为bug报告。这可能比“问题”更适合作为bug报告。